/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.cardarus.operatingsystem.struts.forms;

/**
 * This class holds information of the stock
 * @author bryan.hyde
 */
public class StockForm extends org.apache.struts.validator.ValidatorForm
{
    /**
     * Types of Items
     */
    private String itemTypes="normal";

    /**
     * the id of the item to add in the row.
     */
    private int StockID;
    /**
     * The quantity of Item in stock.
     */
    private String StockName;
    /**
     *  The name of the Item in stock.
     */
    private String StockDescription;
    /**
     *  The description of the Item in stock.
     */
    private int StockInventory;
    /**
     *  The price f the Item in stock
     */
    private double StockPrice;
    /**
     * The selected rows to delete.
     */
    private String[] selectedRows = {};

    /**
     * @return the StockID
     */
    public int getStockID() {
        return StockID;
    }

    /**
     * @param StockID the StockID to set
     */
    public void setStockID(int StockID) {
        this.StockID = StockID;
    }

    /**
     *
     * @return
     */
    public String getStockName() {
        return StockName;
    }

    /**
     * @param StockName the StockName to set
     */
    public void setStockName(String StockName) {
        this.StockName = StockName;
    }

    /**
     *
     * @return
     */
    public String getStockDescription() {
        return StockDescription;
    }

    /**
     * @param StockDescription the StockDescription to set
     */
    public void setStockDescription(String StockDescription) {
        this.StockDescription = StockDescription;
    }

    /**
     * @return the quantity
     */
    public int getStockInventory() {
        return StockInventory;
    }

    /**
     * @param StockInventory
     */
    public void setStockInventory(int StockInventory) {
        this.StockInventory = StockInventory;
    }

        /**
     * @return the quantity
     */
    public double getStockPrice() {
        return StockPrice;
    }

    /**
     * @param StockPrice
     */
    public void setStockPrice(double StockPrice) {
        this.StockPrice = StockPrice;
    }

    /**
     * @return the selectedRows
     */
    public String[] getSelectedRows() {
        return selectedRows;
    }

    /**
     * @param selectedRows the selectedRows to set
     */
    public void setSelectedRows(String[] selectedRows) {
        this.selectedRows = selectedRows;
    }
    /**
     * return item type
     * @return
     */
    public String getItemTypes() {
        return itemTypes;
    }
    /**
     * Sets item type
     */
    public void setItemTypes(String itemTypes) {
        this.itemTypes = itemTypes;
    }
}
